.search {
    background: #ffffff;
    height: 30px;
    border-radius: 40px;
    padding: 1px 1px 3px 1px;
    margin-top: 2px;
}

.search-btn {
    color: #ff4757;
    float: right;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    cursor: pointer;
}

.search-txt {
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0;
    font-size: 15px;
    transition: 0.5s;
    line-height: 25px;
    width: 0px;
}


/*.search:hover > .search-btn{
            background:#dfe4ea;
            color:#2f3542;
        }*/

.search:hover {
    border: 1px rgb(118, 118, 118) solid;
    padding: 0px 0px 2px 1px;
}

.search:hover>.search-txt {
    width: 150px;
    padding: 1px 0px 1px 10px;
}